package com.sz.common.base.constants;

/**
 * Function: 正则表达式常量类. <br>
 * Date: 2017年02月07日 9:48 <br>
 * Author: wentao.chang
 */
public class RegularConstants {
    /**
     * 邮箱校验正则表达式
     */
    public static final String REG_EMAIL = "^\\w+([-+.]\\w+)*@\\w+([-.]\\w+)*\\.\\w+([-.]\\w+)*$";
    public static final String REG_EMAIL_NULL = "^$|^\\w+([-+.]\\w+)*@\\w+([-.]\\w+)*\\.\\w+([-.]\\w+)*$";
    public static final String REG_PHONE = "^((13[0-9])|(15[^4,\\D])|(18[0,5-9]))\\d{8}$";
    public static final String REG_PHONE_I18N = "[0-9_\\-\\+]+";
    public static final String REG_PHONE_NULL="^$|^([\\d_\\-\\+]+)+$";

}

